package com.pan.games.play;

/**
 * @author by panstark
 * @description
 * @notice
 * @date 2021/3/19
 */
public class APlus {

    public static void main(String[] args) {

        lookAPlus();


    }

    private static void lookAPlus() {


        plus1();

        plus2();

        plus3();

        plus4();

        plus5();

    }

    private static void plus5() {
        int b;
        int a=80;
        b= a++;
        System.out.println("plus5-b:"+b);
        System.out.println("plus5-a:"+a);
    }

    private static void plus4() {
        int a=80;
        a++;
        System.out.println("plus4-a:"+a);
    }

    private static void plus3() {
        int a=80;
        ++a;
        System.out.println("plus3-a:"+a);
    }

    private static void plus2() {
        int a=80;
        a= ++a;
        System.out.println("plus2-a:"+a);
    }

    private static void plus1() {
        int a=80;
        a= a ++;
        System.out.println("plus1-a:"+a);

    }
}
